﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace VM.Entity.EntityMap.Menu
{

    public class sys_menuMeta
    {
        #region Model
        private int? _id;
        private int? _parentid;
        private int? _hidden;
        private int? _levelhidden;
        private string? _title;
        private string? _icon;
        private int? _iscustomsvg;
        private int? _nokeepalive;
        private int? _noclosable;
        private int? _nocolumn;
        private string? _badge;
        private int? _tabhidden;
        private string? _target;
        private string? _activemenu;
        private int? _dot;
        private int? _dynamicnewtab;
        private int? _breadcrumbhidden;
        /// <summary>
        /// 内码
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreInsert = true)]
        [JsonIgnore]
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 主表内码
        /// </summary>
        [JsonIgnore]

        public int? parentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 是否隐藏 是否显示在菜单中显示隐藏路由（默认值：false）
        /// </summary>
        public int? hidden
        {
            set { _hidden = value; }
            get { return _hidden; }
        }
        /// <summary>
        /// 是否显示在菜单中显示隐藏一级路由（默认值：false）
        /// </summary>
        public int? levelHidden
        {
            set { _levelhidden = value; }
            get { return _levelhidden; }
        }
        /// <summary>
        /// 菜单、面包屑、多标签页显示的名称
        /// </summary>
        public string? title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 图标
        /// </summary>
        public string? icon
        {
            set { _icon = value; }
            get { return _icon; }
        }
        /// <summary>
        /// /是否是自定义svg图标（默认值：false，如果设置true，那么需要把你的svg拷贝到icon下，然后icon字段配置上你的图标名）
        /// </summary>
        public int? isCustomSvg
        {
            set { _iscustomsvg = value; }
            get { return _iscustomsvg; }
        }
        /// <summary>
        /// 当前路由是否不缓存（默认值：false）
        /// </summary>
        public int? noKeepAlive
        {
            set { _nokeepalive = value; }
            get { return _nokeepalive; }
        }
        /// <summary>
        /// 当前路由是否可关闭多标签页，同上（2021年10月后新版支持）
        /// </summary>
        public int? noClosable
        {
            set { _noclosable = value; }
            get { return _noclosable; }
        }
        /// <summary>
        /// /是否隐藏分栏，仅在分栏布局中二级路由生效（默认值：false，不推荐使用）
        /// </summary>
        public int? noColumn
        {
            set { _nocolumn = value; }
            get { return _nocolumn; }
        }
        /// <summary>
        /// badge小标签（只支持子级，String类型，支持自定义）
        /// </summary>
        public string? badge
        {
            set { _badge = value; }
            get { return _badge; }
        }
        /// <summary>
        /// 当前路由是否不显示多标签页（默认值：false，不推荐使用）
        /// </summary>
        public int? tabHidden
        {
            set { _tabhidden = value; }
            get { return _tabhidden; }
        }
        /// <summary>
        /// 是否浏览新标签页打开（不适用于分栏布局左侧tab部分，不推荐使用）
        /// </summary>
        public string? target
        {
            set { _target = value; }
            get { return _target; }
        }
        /// <summary>
        /// 高亮指定菜单，要从跟路由的path开始拼接（用于隐藏页高亮）
        /// </summary>
        public string? activeMenu
        {
            set { _activemenu = value; }
            get { return _activemenu; }
        }
        /// <summary>
        /// 小圆点（默认值：false）
        /// </summary>
        public int? dot
        {
            set { _dot = value; }
            get { return _dot; }
        }
        /// <summary>
        /// 动态传参路由是否新开标签页（默认值：false）
        /// </summary>
        public int? dynamicNewTab
        {
            set { _dynamicnewtab = value; }
            get { return _dynamicnewtab; }
        }
        /// <summary>
        /// 面包屑是否显示（默认值：false）
        /// </summary>
        public int? breadcrumbHidden
        {
            set { _breadcrumbhidden = value; }
            get { return _breadcrumbhidden; }
        }
        #endregion Model
    
    }
}
